<template>
	<view class="content">
		<text class="title">官方微信客服号</text>
		<view class="WeChatNumberBox">
			<image src="/static/me/help/微信@2x.png" mode="widthFix"></image>
			<text>{{weChat}}</text>
			<text class="copyText" @click="copyData">（点击复制）</text>
		</view>
		<view class="QRBox">
			<image class="QRCode" src="/static/me/help/6271703670041_.pic.jpg" mode="widthFix"></image>
		</view>
		<text class="title1">扫码关注官方公众号</text>
		<br>
		<text class="title2">公众号对话框输入【piece 动画】，加官方客服微信群，学习3D动画制作</text>
		<text class="title2">公众号对话框输入【短剧动画】，加官方客服微信群，学习小说推文短剧制作、变现</text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				weChat: 'piecesmovie'
			}
		},
		methods: {
			//复制文案到剪贴板
			copyData() {
				const self = this
				uni.setClipboardData({
					data: self.weChat,
					success: function() {
						console.log('success');
					}
				});
			},
		}
	}
</script>

<style>
	.title2 {
		font-size: 8px;
		font-weight: 400;
		color: rgba(166, 166, 166, 1);
		display: block;
		margin: 6px 0;
	}

	.title1 {
		display: block;
		font-size: 12px;
		font-weight: 400;
		color: rgba(18, 205, 217, 1);
		margin-top: -10px;
		margin-bottom: 20px;
	}

	.WeChatNumberBox .copyText {
		font-size: 10px;
		color: rgba(166, 166, 166, 1);
	}

	.WeChatNumberBox text {
		display: block;
		font-size: 12px;
		font-weight: 400;
		color: rgba(255, 255, 255, 1);
	}

	.title {
		display: block;
		margin-top: 60px;
		font-size: 16px;
		font-weight: 400;
		color: rgba(255, 255, 255, 1);
	}

	.QRBox {
		width: 130px;
		height: 130px;
		padding: 6px;
		border-radius: 5px;
		margin: 30px auto;
		/* margin-top: 30px; */
		background: rgba(56, 56, 56, 1);
	}

	.QRCode {
		width: 100%;
	}

	.WeChatNumberBox image {
		width: 30px;
		height: 30px;
		margin: 10px 0;
	}


	.content {
		text-align: center;
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		opacity: 1;
		background: rgba(34, 34, 34, 1);
		overflow-x: hidden;
	}
</style>